package edu.hwadee.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Carpaper entity. @author MyEclipse Persistence Tools
 */

public class Carpaper implements java.io.Serializable {

	// Fields

	private Integer carpaperId;
	private Paper paper;
	private Car car;
	private String paperNumber;
	private Date paperDate;
	private Date supExcDate;
	private Date paperDueDate;
	private String paperePicture;
	private String paperPictureback;
	private Short checkCycle;
	private Boolean isEffective;
	private Date checkDate;
	private Short checkState;
	private Set carpapermanagements = new HashSet(0);

	// Constructors

	/** default constructor */
	public Carpaper() {
	}

	/** full constructor */
	public Carpaper(Paper paper, Car car, String paperNumber, Date paperDate, Date supExcDate, Date paperDueDate,
			String paperePicture, String paperPictureback, Short checkCycle, Boolean isEffective, Date checkDate,
			Short checkState, Set carpapermanagements) {
		this.paper = paper;
		this.car = car;
		this.paperNumber = paperNumber;
		this.paperDate = paperDate;
		this.supExcDate = supExcDate;
		this.paperDueDate = paperDueDate;
		this.paperePicture = paperePicture;
		this.paperPictureback = paperPictureback;
		this.checkCycle = checkCycle;
		this.isEffective = isEffective;
		this.checkDate = checkDate;
		this.checkState = checkState;
		this.carpapermanagements = carpapermanagements;
	}

	// Property accessors

	public Integer getCarpaperId() {
		return this.carpaperId;
	}

	public void setCarpaperId(Integer carpaperId) {
		this.carpaperId = carpaperId;
	}

	public Paper getPaper() {
		return this.paper;
	}

	public void setPaper(Paper paper) {
		this.paper = paper;
	}

	public Car getCar() {
		return this.car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public String getPaperNumber() {
		return this.paperNumber;
	}

	public void setPaperNumber(String paperNumber) {
		this.paperNumber = paperNumber;
	}

	public Date getPaperDate() {
		return this.paperDate;
	}

	public void setPaperDate(Date paperDate) {
		this.paperDate = paperDate;
	}

	public Date getSupExcDate() {
		return this.supExcDate;
	}

	public void setSupExcDate(Date supExcDate) {
		this.supExcDate = supExcDate;
	}

	public Date getPaperDueDate() {
		return this.paperDueDate;
	}

	public void setPaperDueDate(Date paperDueDate) {
		this.paperDueDate = paperDueDate;
	}

	public String getPaperePicture() {
		return this.paperePicture;
	}

	public void setPaperePicture(String paperePicture) {
		this.paperePicture = paperePicture;
	}

	public String getPaperPictureback() {
		return this.paperPictureback;
	}

	public void setPaperPictureback(String paperPictureback) {
		this.paperPictureback = paperPictureback;
	}

	public Short getCheckCycle() {
		return this.checkCycle;
	}

	public void setCheckCycle(Short checkCycle) {
		this.checkCycle = checkCycle;
	}

	public Boolean getIsEffective() {
		return this.isEffective;
	}

	public void setIsEffective(Boolean isEffective) {
		this.isEffective = isEffective;
	}

	public Date getCheckDate() {
		return this.checkDate;
	}

	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}

	public Short getCheckState() {
		return this.checkState;
	}

	public void setCheckState(Short checkState) {
		this.checkState = checkState;
	}

	public Set getCarpapermanagements() {
		return this.carpapermanagements;
	}

	public void setCarpapermanagements(Set carpapermanagements) {
		this.carpapermanagements = carpapermanagements;
	}

}